package boot.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @RequestMapping("/sayHello")
    public String sayHello(String name){
        System.out.println("HelloController.sayHello");
        return "<h1>Hello "+name+"!</h1>";
    }

}
